Asset How To's
How to's for the Asset guide.
How to Import an Existing File into Asset Folder
You can upload files like images, scripts, or config files from your local machine into the asset folder. Steps:
- In the Solution Explorer, right-click the asset folder.
- Choose New Existing Item from the context menu.
- A file picker will open—select your file and click Open.
- The file will appear under the asset folder. This is useful for uploading logos, templates, or reusable resources.
How to Add New Item to Asset Folder
You can create new project-specific resource files directly inside the asset folder. Steps:
- In the Solution Explorer, right-click on the asset folder.
- Select New Item from the context menu.
- Choose the desired file type (e.g.,
.json,.ts,.html). - Give the file a name and confirm. The new file will be added under the asset folder and will be ready for use.
How to Create a Subfolder in Asset
To keep your asset files organized, you can create subfolders (e.g., images, scripts, templates).
Steps:
- Right-click the asset folder in the Solution Explorer.
- Select New Folder.
- Enter a name for your new folder (e.g.,
icons,data,styles). - Press Enter to confirm. You can now move or add items into this subfolder to structure your resources.